package com.loutick.basicforapp.dao;

import java.util.Date;

import com.loutick.basicforapp.entity.TVerification;

public interface TVerificationMapper {
    int deleteByPrimaryKey(Integer codeid);

    int insert(TVerification record);

    int insertSelective(TVerification record);

    TVerification selectByPrimaryKey(Integer codeid);

    int updateByPrimaryKeySelective(TVerification record);

    int updateByPrimaryKey(TVerification record);
    
    int updateByInvalidtime(Date invalidtime);
    
    TVerification selectValidCodeByPhoneNumber(TVerification record);
}